<!--
@author	    Yi Bo <etng2004@gmail.com>
@version	$Id: index_mail.php 48 2007-09-05 03:07:05Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<?php echo $this->render('header.php');?>
<h2>邮件发送</h2>
<form action="<?php echo $this->base_url;?>/mail/" method="post" enctype="multipart/form-data" name="frmSendMail" id="frmSendMail">
<table cellpadding="0" cellspacing="0" border="0">
<tr class="tblhead">
	<td colspan="2">发送邮件</td>
</tr>
<tr class="tblbody">
	<td width="15%">主题：</td>
	<td width="85%"><input type="text" name="fields[subject]" value="<?php echo $this->mail['subject'];?>" size="40" id="field_subject" /></td>
</tr>
<tr class="tblbody">
	<td width="15%">收件人：</td>
	<td width="85%">
	Email
	<input type="text" name="fields[receiver][email]" value="<?php echo $this->mail['receiver']['email'];?>" size="20" id="field_receiver_email" />
	Name<input type="text" name="fields[receiver][name]" value="<?php echo $this->mail['receiver']['name'];?>" size="20" id="field_receiver_name" />

	</td>
</tr>
<tr class="tblbody">
	<td width="15%">内容：</td>
	<td width="85%">
	<textarea name="fields[content]" rows="10" cols="50" wrap="on"><?php
	echo $this->mail['content'];
	?></textarea>
	</td>
</tr>
<tr class="tblfoot">
	<td colspan="2" align="center"><input type="submit" value="发布" /></td>
</tr>
</table>
</form>
<script type="text/javascript">
	$(document).ready(function () {
	});
</script>
<?php echo $this->render('footer.php');?>